﻿using System;
using System.Threading.Tasks;

namespace Dotnet.Utils.Utility.Disposable
{
    public sealed class NullAsyncDisposable : IAsyncDisposable
    {
        public static NullAsyncDisposable Instance { get; } = new NullAsyncDisposable();

        private NullAsyncDisposable()
        {
        }

        public ValueTask DisposeAsync()
        {
            return default;
        }
    }
}